﻿<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns="http://www.w3.org/1999/xhtml" xmlns:rk="urn:metashell:regedit">

  <xsl:template match="/">

    <html>
    
      <head>
        <title>Registry Values Listing</title>
      </head>
    
    
      <body>
        <table>
          <thead>
            <tr>
              <th>Name</th>
              <th># Subkeys</th>
              <th># Values</th>
            </tr>
          </thead>
          <tbody>
            <xsl:for-each select="rk:regkeys/rk:subkey">
              <tr>
                  <td><xsl:value-of select="@rk:name"/></td>
                  <td><xsl:value-of select="@rk:numsubkeys"/></td>
                  <td><xsl:value-of select="@rk:numvalues"/></td>
              </tr>
            </xsl:for-each>
          </tbody>
        </table>
      </body>
    </html>  
  
  </xsl:template>
  
</xsl:stylesheet>
